<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>CSS三大特性</title>
    <style>
        #d1{
            color: red;
        }
        div{
            color: #00a1ff;
        }
        p{color: #5900ff}
    </style>
</head>
<body>
<!-- 继承,层叠,优先级 -->
<div id="d1">
    <p>这是p标签</p>
    <a href="">超链接</a>
</div>
</body>
</html>